package com.kkb.service.ipl;

import com.kkb.service.UserService;
import org.springframework.stereotype.Component;

//目标对象
@Component
public class UserServiceImpl implements UserService {
    @Override
    public void insertUser(String name) {
        System.out.println("插入操作-------------------------------");
        String str = null;
        str.indexOf(3);
    }

    @Override
    public void updateUser(String name) {
        System.out.println("修改操作-------------------------------");
    }

    @Override
    public String findUserById(int id) {
        System.out.println("查询操作-------------------------------");
        return "李嘉欣";
    }

    @Override
    public void deleteUserById(int id) {
        System.out.println("删除操作-------------------------------");
    }
}
